Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications
url-encode
This function encodes characters that can be misinterpreted in a URL (for example tilde
Location:~or percent%) as hexidecimal triplets. For instance,%7Eis the tilde character and the percent character is%25.web\method\cgiutils.iParameters:INPUT p_value AS CHARACTERThe character expression to encode.
INPUT p_enctype AS CHARACTEREither
Returns: CHARACTER Notes: None Examples: See thequery,cookie, ordefault. Thequeryoption is suitable for encoding name and value pairs for use as arguments in a URL. Thecookieoption is suitable for encoding cookie contents. Thedefaultoption is the default encoding as defined in RFC 1738, section 2.2.set-cookiefunction inweb\method\cookies.i.See also:
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |